package com.healthcarex.hip.saas.web.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.config.YamlPropertiesFactoryBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.*;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.core.annotation.Order;
import org.springframework.core.io.ClassPathResource;

/**
 * @author ChenPan
 * @date 2018/6/29 14:09
 * description: 加载mybatis通用mapper和分页配置
 * PropertySource无法加载yaml格式文件
 * https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config-yaml-shortcomings
 */
@Configuration
@PropertySources(value = {@PropertySource(value = "classpath:web-default.properties", ignoreResourceNotFound = true)})
@Slf4j
public class WebDefaultConfig {

}
